<?php

$strScreenName = 'ListSubCategory';
$strQueryName = 'qrySearchSubCategory';
$strFormName = 'frmSearchSubCategory';
if($strStyleSheet == TRUE){
	echo "<table class='Normal' border='0' align='left' width='450'>";
}
echo "
 <tr>
     <td>";	
		echo (StartForm($strScreenName, "post", $strQueryName,"","","",$strFormName,"",""));
		echo "
         <table  width='450' cellpadding='0' cellspacing='0' border='0' class='Normal' align='center'>
		     <tr align='left'>
		         <td align='left' colspan='2'>
		             <h2>Search Sub Category</h2>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='2'>
		             <input type='image' src='./images".SITE_SUFFIX."/search.gif' alt='search'>
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>ID :&nbsp;</b>
		         </td>
		         <td align='left' colspan='1'>
		             <input type=\"text\" name=\"txtID\" value = '$txtID' size= \"4\" maxlength=\"4\">
		         </td>
		     </tr>
		
		     <tr>
		         <td align='right' colspan='1'>
		             <b>Sub Category :</b>
 				 </td>
		         <td align='left' colspan='1'>
					<input type=\"text\" name=\"txtSubCategory\" value = '$txtSubCategory' size= \"45\" maxlength=\"45\">
		         </td>
		     </tr>
		
		     <tr align='left'>
		         <td align='right'>
		             <b>Category :</b>
		         </td>
		         <td align='left'>";
		             CreateDropDown("cboCategory", "SELECT * FROM tblCategory ORDER BY 2", "", $cboCategory);
		echo "
		         </td>
		     </tr>

		
		     <tr>
		         <td align='right' colspan='2'>
		             <input type='image' src='./images".SITE_SUFFIX."/search.gif' alt='search'>
		         </td>
		     </tr>
		    
         </table>
		 </form>
     </td>
</tr>
";
	if($strStyleSheet == TRUE){
   		echo "</table>";
	}
?>
